package com.liuceng.zen.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liuceng.zen.common.annotations.MyBatisRepository;
import com.liuceng.zen.pojo.domain.RptFrontCampaignDaily;

@MyBatisRepository
public interface RptFrontCampaignDailyMapper extends BaseMapper<RptFrontCampaignDaily> {
  int insert(RptFrontCampaignDaily record);

  int updateByPrimaryKey(RptFrontCampaignDaily record);

  List<RptFrontCampaignDaily> selectByMemberId(@Param(value = "memberId") Integer memberId);

  Map<String, Object> findRptData(Map<String, Object> params);

  List<Map<String, Object>> findMemberRptData(Map<String, Object> params);

  List<Map<String, Object>> findCampaignRptData(Map<String, Object> params);
}
